package com.market.web.converter;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
@Component("marketDateConverter")
@Scope("session")
public class MarketDateConvertor implements Converter {

	public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) {
		System.out.println(arg2);
		return null;
	}

	public String getAsString(FacesContext arg0, UIComponent arg1, Object arg2) {
		System.out.println(arg2);
		return null;
	}

}
